﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace KhachSan.Process.Private.Tien.Usercontrol
{
    public partial class ucFormCheckIn_Hoi : UserControl
    {
        public ucFormCheckIn_Hoi()
        {
            InitializeComponent();
        }

        private Panel pCenter;
        public ucFormCheckIn_Hoi(Panel pCenter)
        {
            InitializeComponent();
            this.pCenter = pCenter;
        }
        private void button1_Click(object sender, EventArgs e)
        {
            if (radioButton1.Checked)
            {
                ThuVien.Go(this,new ucFormCheckIn_DP(), pCenter);
            }
            else
            {
                ThuVien.Go(this,new ucFormCheckIn_Input(), pCenter);
            }
        }
    }
}
